/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: HP
 * Date: 2023 -05 -15
 * Time: 16:24
 */
public abstract class GeoGraph implements Shape,Comparable<Shape>{

    public abstract double getPerim();

    @Override
    public int compareTo(Shape o) {
        return (int)(getPerim() - o.getPerim());
    }

}

